Page({
  data: {
    windowHeight:100,
    qrCode:'',
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    var that = this;
    //设置scroll-view高度
    wx.getSystemInfo({
      success: function (res) {
        that.setData({windowHeight: res.windowHeight});
      }
    });
  },

})
